Skip to content

fix(cloudflare): Import prismaIntegration from server-utils#22520

Merged
JPeer264 merged 1 commit into
developfrom
jp/cloudflare-nodejs-compat-segfault
Jul 23, 2026
Merged

fix(cloudflare): Import prismaIntegration from server-utils#22520
JPeer264 merged 1 commit into
developfrom
jp/cloudflare-nodejs-compat-segfault

Conversation

@JPeer264

Copy link
Copy Markdown
Member

closes #22519
closes JS-3123

It appears that when running @cloudflare/vitest-pool-workers is obviously not tree-shaking and pulls in import-in-the-middle which is not working on workerd for good reasons. This makes the entire pool crash. Since the prismaIntegration already got refactored into our server utils it is safe to import from there and remove the node dependency (for now).

@JPeer264 JPeer264 self-assigned this Jul 23, 2026
@JPeer264
JPeer264 requested a review from a team as a code owner July 23, 2026 07:16
@JPeer264
JPeer264 requested review from andreiborza and isaacs and removed request for a team July 23, 2026 07:16
@linear-code

linear-code Bot commented Jul 23, 2026

Copy link
Copy Markdown

JS-3123

@JPeer264
JPeer264 merged commit f45152c into develop Jul 23, 2026
86 checks passed
@JPeer264
JPeer264 deleted the jp/cloudflare-nodejs-compat-segfault branch July 23, 2026 07:55
andreiborza added a commit that referenced this pull request Jul 23, 2026
Backport of: #22520

Co-authored-by: Jan Peer Stöcklmair <jan.peer@sentry.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@sentry/cloudflare/nodejs_compat segfaults workerd: barrel statically re-exports prismaIntegration from @sentry/node

2 participants